package com.study.product_service.domain;



import lombok.Data;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: LWM
 * @date: 2019/2/20
 * @time: 10:22
 * Description: No Description
 */
@Data
public class Product implements Serializable {
    private int id;
    /**
     * 商品名称
     */
    private String name;
    /**
     * 价格,分为单位
     */
    private int price;
    /**
     * 库存
     */
    private int store;

    public Product(int id, String name, int price, int store) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.store = store;
    }

    public Product() {
    }
}
